// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router' //路由引入
import Store from './store' //vux数据创库
import ElementUI from 'element-ui'; //引入element-ui
import 'element-ui/lib/theme-chalk/index.css';//引入element-ui css
import './assets/css/normal.css'//引入样式重置
import axios from './request/http'
import ZkTable from 'vue-table-with-tree-grid'
import VueQuillEditor from 'vue-quill-editor'
// require styles 引入样式
import 'quill/dist/quill.core.css'
import 'quill/dist/quill.snow.css'
import 'quill/dist/quill.bubble.css'
Vue.use(VueQuillEditor)

import 'nprogress/nprogress.css'


Vue.component('table-tree', ZkTable)
Vue.config.productionTip = false


Vue.prototype.$http = axios


/* eslint-disable no-new */
Vue.use(ElementUI); 
new Vue({
  el: '#app',
  router,
  Store,
  components: { App },
  template: '<App/>'
})
